package com.yuyou.train.user.service;

import java.util.List;

import com.yuyou.train.service.api.user.entity.UserThoughts;
import com.yuyou.train.util.bean.Pagination;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;


public interface IUserThoughtsService {
    int deleteByPrimaryKey(String id);

    int insert(UserThoughts record);

    UserThoughts selectByPrimaryKey(String id);

    UserThoughts selectUserThoughts(String userId,String lessonId);
    
    int updateByPrimaryKeySelective(UserThoughts record);
    
    List<UserThoughts> findUserThoughtsByUserId(String userId);
    
	public List<UserThoughts> findUserThoughtsPageList(Pagination<UserThoughts> p);

	public int findUserThoughtsPageCount(Pagination<UserThoughts> p);

	public ResBoolSimpleInfo<String> addUserThoughts(UserThoughts userThoughts);
	
}